package com.imcrl.piano.core
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.DisplayObject;
	
	public class KeyAssets extends BitmapAssets
	{
		[Embed(source='assets/keyview.png')]
		private var KeyViewAssets:Class
		
		public function KeyAssets()
		{
			super(7);
			
			var bitmap:Bitmap=new KeyViewAssets();
			this.setAsset(bitmap.bitmapData);
		}
		
		public function getView(code:int):DisplayObject{
			var str:String=String.fromCharCode(code).toLocaleUpperCase();
			switch(str)
			{
				case "S" :
					break;
				case "D" :
					break;
				case "F" :
					break;
				
				case "J" :
					break;
				case "K" :
					break;
				case "L" :
					break;
			}
			var bitmap:Bitmap=new Bitmap(this.get(code));
			return bitmap;
		}
	}
}